<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<script>
  Promise.all([
      new Promise((resolve, reject) =>{
        setTimeout(()=>{
          resolve({name:'mt',age:22})
        },1000)
      } ),
    new Promise((resolve, reject) =>{
      setTimeout(()=>{
        resolve({name:'fucker',age:21})
      },2000)
    } )
  ]).then(result=>{
    console.log(result)
      }

  )
</script>



</body>
</html>